package com.mall.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author 勾新杰
 * @version 1.0
 * @date 2024/11/22 23:30
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "分类视图对象")
public class CategoryVO implements Serializable {
    @Schema(description = "分类id")
    private Long id;
    @Schema(description = "分类名称")
    private String name;
    @Schema(description = "分类状态, 0: 停用, 1: 启用")
    private Integer status;
}
